package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/11/16 17:24
 * @desrcption: 数据还原
 */
@Getter
@Setter
@ToString
public class FormDataRestoreDTO extends BaseDTO {

    private static final long serialVersionUID = -7569853624423567130L;
    @NotNull(message = "{dto.msg.formDataRestore.dataIdList.NotNull}")
    private List<Long> dataIdList;
    /**
     * 表单Id
     */
    private Long formId;
    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * Saas标记
     */
    private Integer saasMark;

    private Integer del;

    public FormDataRestoreDTO(){
        del = DelEnum.DELETE.getDel();
    }
}
